<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );

	?></title>    
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" href="<?php bloginfo('template_url')?>/css/foundation.css" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<script src="<?php bloginfo('template_url')?>/js/modernizr.js"></script>
<script src="<?php bloginfo('template_url')?>/js/jquery-1.7.2.js"></script>

<script type="text/javascript">
    $(function(){
                    $("ul li:last-child").addClass("last-child");
                });
</script>
<script>
    $(document).ready(function(){
        $('.access-mobi span').click(function() {
            $('.access-mobi ul').slideToggle();    
        });
        $('.bottom-mobi span').click(function() {
            $('.bottom-mobi ul').slideToggle();    
        });
    });
</script>
<?php
	/* We add some JavaScript to pages with the comment form
	 * to support sites with threaded comments (when in use).
	 */
	if ( is_singular() && get_option( 'thread_comments' ) )
		wp_enqueue_script( 'comment-reply' );

	/* Always have wp_head() just before the closing </head>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to add elements to <head> such
	 * as styles, scripts, and meta tags.
	 */
	wp_head();
?>
</head>

<body <?php body_class(); ?>>
<div id="wrapper">
    <div id="header">
        <div class="top-header row">
            <div class="large-9 medium-9 columns logo">
                <a href="<?php echo home_url( '/' ); ?>"><img src="<?php bloginfo('template_url')?>/img/logo.png"/></a>
            </div>
            <div class="large-3 medium-3 small-12 columns register">
                <a href="?page_id=66">登録無料</a>
            </div>
        </div>
        <div class="bottom-header row">
            <?php wp_nav_menu( array( 'container_class' => 'large-offset-4 large-8 medium-12 columns access', 'theme_location' => 'primary', 'menu_class' => 'menu' ) ); ?>            
            <div class="access-mobi">
                <span>Menu</span>
                <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'menu' ) ); ?>
            </div>
        </div>
    </div><!-----------end header--------------->
    <div id="container">
        <div id="content">
        <?php if(is_home()|| is_front_page()){?>									
            <div class="pick-up row">
                <h3>今日のピックアップ</h3>   
            </div>
            <div class="content-pick-up row">
                <div class="pick-up-1 large-2 medium-2 columns no-padding">
                    <div class="row">
                        <div class="image-pick-up large-12 medium-12 small-4 no-padding columns">
                            <a href="#"><img src="<?php bloginfo('template_url')?>/img/pick-up-1.png"/></a>
                        </div>
                        <div class="title-pick-up large-12 medium-12 small-8 no-padding columns">
                            <h3><span>タイトル</span></h3>
                            <p>和田鍼灸治療院のWEBサイトへようこそ！ </p>
                            <div class="test-pick-up">
                                <a href="#">チェック</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="pick-up-1 large-2 medium-2 columns no-padding">
                    <div class="row">
                        <div class="image-pick-up large-12 medium-12 small-4 no-padding columns">
                            <a href="#"><img src="<?php bloginfo('template_url')?>/img/pick-up-1.png"/></a>
                        </div>
                        <div class="title-pick-up large-12 medium-12 small-8 no-padding columns">
                            <h3><span>タイトル</span></h3>
                            <p>和田鍼灸治療院のWEBサイトへようこそ！ </p>
                            <div class="test-pick-up">
                                <a href="#">チェック</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="pick-up-1 large-4 medium-4 columns no-padding">
                    <div class="row">
                        <div class="image-pick-up large-12 medium-12 small-4 no-padding columns">
                            <a href="#"><img src="<?php bloginfo('template_url')?>/img/pick-up-2.png"/></a>
                        </div>
                        <div class="title-pick-up large-12 medium-12 small-8 no-padding columns">
                            <h3><span>タイトル</span></h3>
                            <p>和田鍼灸治療院のWEBサイトへようこそ！ </p>
                            <div class="test-pick-up">
                                <a href="#">チェック</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="pick-up-1 large-2 medium-2 columns no-padding">
                    <div class="row">
                        <div class="image-pick-up large-12 medium-12 small-4 no-padding columns">
                            <a href="#"><img src="<?php bloginfo('template_url')?>/img/pick-up-1.png"/></a>
                        </div>
                        <div class="title-pick-up large-12 medium-12 small-8 no-padding columns">
                            <h3><span>タイトル</span></h3>
                            <p>和田鍼灸治療院のWEBサイトへようこそ！ </p>
                            <div class="test-pick-up">
                                <a href="#">チェック</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="pick-up-1 large-2 medium-2 columns no-padding">
                    <div class="row">
                        <div class="image-pick-up large-12 medium-12 small-4 no-padding columns">
                            <a href="#"><img src="<?php bloginfo('template_url')?>/img/pick-up-1.png"/></a>
                        </div>
                        <div class="title-pick-up large-12 medium-12 small-8 no-padding columns">
                            <h3><span>タイトル</span></h3>
                            <p>和田鍼灸治療院のWEBサイトへようこそ！ </p>
                            <div class="test-pick-up">
                                <a href="#">チェック</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-----------------end content pick up----------->
            <?php } ?>
            <div class="main-content row">